package com.passive.lock.service;

import com.passive.lock.model.vo.TMenuVo;
import com.passive.lock.model.vo.TUserVo;
import com.passive.lock.utils.Result;

public interface MenuService {
	/**
	 * 左侧菜单列表
	 * 
	 * @param tUserVo
	 * @return
	 */
	Result menuTree(TUserVo tUserVo);

	/**
	 * 根据用户角色获取权限
	 * 
	 * @param uservo
	 * @return
	 */
	Result menuRight(TUserVo tUserVo);

	/**
	 * 获取菜单列表
	 * 
	 * @param pcode
	 * @return
	 */
	Result menuList(String pcode);
	
	/**
	 * 添加菜单
	 * 
	 * @param pcode
	 * @return
	 */

	Result addMenu(TMenuVo tMenuVo);

	/**
	 * 修改菜单
	 * 
	 * @param pcode
	 * @return
	 */
	Result updateMenu(TMenuVo tMenuVo);
	/**
	 * 删除菜单
	 * 
	 * @param pcode
	 * @return
	 */

	Result deleteMenu(TMenuVo tMenuVo);
}
